<?php
/**
 * Copyright (c) 2013 pipapai.com
 */

/* controller based router */
$this->create('company_home', '')->get()->action('PCompanyController', 'home');
$this->create('company_tos', 'termofservice')->get()->action('PCompanyController', 'termofservice');

$this->create('company_registers', 'registers')->get()->action('PCompanyController', 'registers');

$this->create('company_login', 'login')->get()->action('PCompanyController', 'login');
$this->create('company_postlogin', 'postlogin')->post()->action('PCompanyController', 'login');

$this->create('company_logout', 'logout')->get()->action('PCompanyController', 'logout');

$this->create('company_lostpassword', 'lostpassword')->get()->action('PCompanyController', 'lostpassword');
$this->create('company_sendpassreset', 'sendpassreset')->post()->action('PCompanyController', 'sendpassreset');
$this->create('company_passwdreset', 'passwdreset')->get()->action('PCompanyController', 'passwdreset');
$this->create('company_setnewpass', 'setnewpass')->post()->action('PCompanyController', 'setnewpass');

$this->create('company_saveregemp', 'saveregemp')->post()->action('PCompanyController', 'saveregemp');
$this->create('company_saveregdetail', 'saveregdetail')->post()->action('PCompanyController', 'saveregdetail');
$this->create('company_employerinfo', 'employerinfo')->get()->action('PCompanyController', 'employerinfo');

$this->create('company_showemptycaptcha', 'showemptycaptcha')->get()->action('PCompanyController', 'showemptycaptcha');
$this->create('company_showcaptcha', 'showcaptcha')->get()->action('PCompanyController', 'showcaptcha');

$this->create('company_validatename', 'validatename')->post()->action('PCompanyController', 'validatename');

$this->create('company_validateemail', 'validateemail')->post()->action('PCompanyController', 'validateemail');

$this->create('company_validatesubdomain', 'validatesubdomain')->post()->action('PCompanyController', 'validatesubdomain');

$this->create('company_getvcode', 'getvcode')->post()->action('PCompanyController', 'getvcode');

$this->create('company_settings', 'settings')->get()->action('PCompanyController', 'settings');
$this->create('company_basicinfo', 'settings/basicinfo')->get()->action('PCompanyController', 'settings');
$this->create('company_summary', 'settings/summary')->get()->action('PCompanyController', 'summary');
$this->create('company_logo', 'settings/logo')->get()->action('PCompanyController', 'logo');
$this->create('company_license', 'settings/license')->get()->action('PCompanyController', 'license');
$this->create('company_cloudspace', 'settings/cloudspace')->get()->action('PCompanyController', 'cloudspace');
$this->create('company_subaccounts', 'settings/subaccounts')->get()->action('PCompanyController', 'subaccounts');
$this->create('company_quota', 'settings/quota')->get()->action('PCompanyController', 'quota');
$this->create('company_emailsms', 'settings/emailsms')->get()->action('PCompanyController', 'emailsms');
$this->create('company_changepassword', 'settings/changepassword')->get()->action('PCompanyController', 'changepassword');
$this->create('company_synchronousinfo', 'settings/synchronousinfo')->get()->action('PCompanyController', 'synchronousinfo');

$this->create('company_savesettings', 'savesettings')->post()->action('PCompanyController', 'savesettings');
$this->create('company_getlogo', 'getlogo')->get()->action('PCompanyController', 'getlogo');
$this->create('company_uploadlogo', 'uploadlogo')->post()->action('PCompanyController', 'uploadlogo');
$this->create('company_savelogo', 'savelogo')->post()->action('PCompanyController', 'savelogo');
$this->create('company_uploadlicense', 'uploadlicense')->post()->action('PCompanyController', 'uploadlicense');
$this->create('company_setpassword', 'setpassword')->post()->action('PCompanyController', 'setpassword');
$this->create('company_setsubdomain', 'setsubdomain')->post()->action('PCompanyController', 'setsubdomain');
$this->create('company_savesyncaccount', 'savesyncaccount')->post()->action('PCompanyController', 'savesyncaccount');
$this->create('company_startsyncaccount', 'startsyncaccount')->post()->action('PCompanyController', 'startsyncaccount');
$this->create('company_uploadreceipt', 'uploadreceipt')->post()->action('PCompanyController', 'uploadreceipt');

$this->create('company_preview', 'preview')->get()->action('PCompanyController', 'preview');

$this->create('company_setautoaction', 'setautoaction')->post()->action('PCompanyController', 'setautoaction');
